<template>
  <div class="session" @click="goHome">

  </div>
</template>

<script>
    export default {
        name: 'goHome',
        data() {
            return {}
        },
      methods:{
          goHome(){
            this.$router.push({path:'/'})
          },
      }
    }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.session{
  position: fixed;
  top:80%;
  right:3%;
  width:40px;
  height:40px;
  border:1px solid #eee;
  border-radius: 50%;
  background: url('../../assets/images/home_icon.png') no-repeat center rgba(255,255,255,1);
  background-size: 100% 100%;
  box-shadow: 0 0 5px rgba(0,0,0,.5);
}
</style>
